//
//  InterFace.h
//  DA_V
//
//  Created by 中亿世联前台 on 15/4/21.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#ifndef DA_V_InterFace_h
#define DA_V_InterFace_h
//NavBar高度
#define NavigationBar_HEIGHT 44

//获取屏幕 宽度、高度
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#define LineColor ([UIColor colorWithRed:242/255.0 green:242/255.0 blue:242/255.0 alpha:1])
#define BackColor ([UIColor colorWithRed:229/255.0 green:229/255.0 blue:229/255.0 alpha:1])
#define DaoHangColor ([UIColor colorWithRed:194/255.0 green:0 blue:14/255.0 alpha:1])
#define SearColor ([UIColor colorWithRed:185/255.0 green:8/255.0 blue:68/255.0 alpha:1])
#define PasswordKey @"hotkeycuk"

//登录接口
#define LoginInterface @"http://api.dw521.com/api/login/login.php?action=login"

//短信验证码发送接口
#define SetInformactionInterface @"http://api.dw521.com/api/login/login.php?action=send"

//短信验证码验证接口
#define InfomactionCheckingInterface @"http://api.dw521.com/api/login/login.php?action=send"

//重置密码接口
#define UpdatePasseordInterface @"http://api.dw521.com/api/login/login.php?action=reset"

//推荐商品接口
#define ProductInterface @"http://api.dw521.com/api/product/recommend.php"

//获取商品类型接口
#define GetCategoryface @"http://api.dw521.com/api/product/gettype.php"

//商品列表
#define ProductListInterface @"http://api.dw521.com/api/product/goodslist.php"

// 根据Tag获取相应的商品列表
#define GetProductListInterface @"http://api.dw521.com/api/product/getgoodsbytag.php"

// 获取商品详情接口
#define ProductInfoInterface @"http://api.dw521.com/api/product/detail.php"

//添加购物信息到购物车
#define AddProductForCar @"http://api.dw521.com/api/product/addtocart.php"

//获取用户购物车订单详情的接口
#define GetCarListInterface @"http://api.dw521.com/api/product/getcart.php"

//修改购物车中的某个商品的数量
#define UpdataCartNunberInterface @"http://api.dw521.com/api/product/modifycart.php"

//删除购物车中的某个商品
#define DeleteCartProduct @"http://api.dw521.com/api/product/deletefromcart.php"

//生成订单并支付接口
#define ShengChengDinDanInterface @"http://api.dw521.com/api/order/generate.php"

//省接口
#define ProvinceInterface @"http://api.dw521.com/api/profile/config.php?action=getprovince"

//市接口
#define CityInterface @"http://api.dw521.com/api/profile/config.php?action=getcity"

//县/区接口
#define CountyInterface @"http://api.dw521.com/api/profile/config.php?action=getcounty"

//库存订单接口
#define KuCunListInterface @"http://api.dw521.com/api/order/stockorder.php"

//支付接口
#define ZhiFuInterface @"http://api.dw521.com/api/order/pay.php"

//客户订单（已付款接口）
#define UserListYiFuKuanInterface @"http://api.dw521.com/api/order/customer.php?action=payoff"

//客户订单（未付款接口）
#define UserListWeiFuKuanInterface @"http://api.dw521.com/api/order/customer.php?action=paying"

//下线订单
#define XiaXianListInterface @"http://api.dw521.com/api/order/sub.php"

//补货订单详情接口
#define BuhuoInfoInterface @"http://api.dw521.com/api/order/makeupdetail.php"

//自动补货订单接口
#define BuhuoListInterface @"http://api.dw521.com/api/order/makeup.php"


#warning -mark 记得改接口，现在是测试接口
//物流费用账单详情信息
#define WuLiuLiatInfoIneraface @"http://api.dw521.com/api/order/express.php?action=getdetail"

#endif
